package com.guigu.tms.base.service.impl;

import com.guigu.tms.base.mapper.TruckTypeGoodsTypeMapper;
import com.guigu.tms.base.mapper.TruckTypeMapper;
import com.guigu.tms.base.service.ITruckTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guigu.tms.commons.base.entity.TruckType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 车辆类型表 服务实现类
 * </p>
 *
 * @author zhh
 * @since 2022-09-23
 */
@Service
public class TruckTypeServiceImpl extends ServiceImpl<TruckTypeMapper, TruckType> implements ITruckTypeService {

    @Autowired
    TruckTypeMapper mapper;
    @Override
    //车辆类型查询全部
    public List<TruckType> list() {
        return mapper.selectList(null);
    }
}
